package cn.dgut.Entity;

public class Student {
    private int student_id;
    private String student_name;
    private String student_passwd;
    private String student_phone;
    private String student_email;
    private String student_img;
    private String isVip;
    private String slevel;


    public Student() {
    }

    public Student(int student_id, String student_name, String student_passwd, String student_phone, String student_email, String student_img, String isVip, String slevel) {
        this.student_id = student_id;
        this.student_name = student_name;
        this.student_passwd = student_passwd;
        this.student_phone = student_phone;
        this.student_email = student_email;
        this.student_img = student_img;
        this.isVip = isVip;
        this.slevel = slevel;
    }

    public int getStudent_id() {
        return student_id;
    }

    public void setStudent_id(int student_id) {
        this.student_id = student_id;
    }

    public String getStudent_passwd() {
        return student_passwd;
    }

    public void setStudent_passwd(String student_passwd) {
        this.student_passwd = student_passwd;
    }


    public String getStudent_name() {
        return student_name;
    }

    public void setStudent_name(String student_name) {
        this.student_name = student_name;
    }

    public String getStudent_phone() {
        return student_phone;
    }

    public void setStudent_phone(String student_phone) {
        this.student_phone = student_phone;
    }

    public String getStudent_email() {
        return student_email;
    }

    public void setStudent_email(String student_email) {
        this.student_email = student_email;
    }

    public String getStudent_img() {
        return student_img;
    }

    public void setStudent_img(String student_img) {
        this.student_img = student_img;
    }

    public String getIsVip() {
        return isVip;
    }

    public void setIsVip(String isVip) {
        this.isVip = isVip;
    }

    public String getSlevel() {
        return slevel;
    }

    public void setSlevel(String slevel) {
        this.slevel = slevel;
    }


    @Override
    public String toString() {
        return "{" +
                "\"name1\":\"" + student_name  +
                "\",\"name2\":\"" + student_passwd  +
                "\",\"name3\":\"" + student_phone  +
                "\",\"name4\":\"" + student_email  +
                "\",\"name5\":\"" + isVip  +
                "\",\"name6\":\"" + slevel  +
                "\",\"name7\":\"" + student_img  +
                "\"}";
    }
}
